﻿using System;


namespace Model
{
    /// <summary>
    /// 全局基础特性，用于保存该特性标识的类的类别
    /// 所有的上级特性均继承此特性
    /// </summary>
    [AttributeUsage(AttributeTargets.Class,AllowMultiple =true)]
    public class BaseAttribute :Attribute
    {
        // 当前标签对应的类
        public Type AttributeType { get; }
        public BaseAttribute()
        {
            this.AttributeType = this.GetType();
        }
    }
}
